Skip to content

Conversation

@DrozdikGleb
Copy link

@DrozdikGleb DrozdikGleb commented May 4, 2019

Выполнены задания 1, 2.1(тёмная тема), 3.2(календарь)

@vercel
Copy link

vercel bot commented May 4, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://task-5-git-fork-drozdikgleb-master.itmo-yandex.now.sh

const now = moment();

export class Header extends React.Component<IProps> {
public state: IState;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

state не должен быть public

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Его на самом деле надо просто выше указать
class Header extends React.Component<IProps, IState>

@@ -0,0 +1,16 @@
.search-box {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут бы тоже не помешало затемнение

@@ -0,0 +1,4 @@
.DateRangePicker {
top: -2px;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А затемнения нет)

}

export class MessagesBox extends React.Component<IProps> {
public state: IState;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут тоже самое <IProps, IState>

this.props.openMessage(messageData.text);
}
}}
style={messageData.display ? {} : { display: 'none' , height: '0px' }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше унести в класс

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants